package com.lianzai.mobile.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;


/**
 * 金额规则表
 * 
 * @author zb
 * @email 1106900429@qq.com
 * @date 2018-12-16 17:07:19
 */
public class CarPriceRuleDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键ID
	private Long id;
	//类型 1月租  2季度租  3年租
	private Integer type;
	//金额
	private BigDecimal amt;
	//创建时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	private Long createId;
	private String ruleName;
	private String segMsg;
	private List<Map> segList;

	private Integer typeInput;
	/**
	 * 设置：主键ID
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：主键ID
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：类型 1月租  2季度租  3年租
	 */
	public void setType(Integer type) {
		this.type = type;
	}
	/**
	 * 获取：类型 1月租  2季度租  3年租
	 */
	public Integer getType() {
		return type;
	}
	/**
	 * 设置：金额
	 */
	public void setAmt(BigDecimal amt) {
		this.amt = amt;
	}
	/**
	 * 获取：金额
	 */
	public BigDecimal getAmt() {
		return amt;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：
	 */
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	/**
	 * 获取：
	 */
	public Long getCreateId() {
		return createId;
	}

	public String getRuleName() {
		return ruleName;
	}

	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}

	public String getSegMsg() {
		return segMsg;
	}

	public void setSegMsg(String segMsg) {
		this.segMsg = segMsg;
	}

	public List<Map> getSegList() {
		return segList;
	}

	public void setSegList(List<Map> segList) {
		this.segList = segList;
	}

	public Integer getTypeInput() {
		return typeInput;
	}

	public void setTypeInput(Integer typeInput) {
		this.typeInput = typeInput;
	}
}
